package com.ruoyi.ifmPost.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工作岗位对象 ifm_post
 * 
 * @author ruoyi
 * @date 2024-11-01
 */
public class IfmPost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工作岗位ID */
    private Long postId;

    /** 工作岗位名称 */
    @Excel(name = "工作岗位名称")
    private String postName;

    /** 工作岗位权限字符串 */
    @Excel(name = "工作岗位权限字符串")
    private String postKey;

    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setPostName(String postName) 
    {
        this.postName = postName;
    }

    public String getPostName() 
    {
        return postName;
    }
    public void setPostKey(String postKey) 
    {
        this.postKey = postKey;
    }

    public String getPostKey() 
    {
        return postKey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("postId", getPostId())
            .append("postName", getPostName())
            .append("postKey", getPostKey())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
